package com.ly.heart.domain;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.IdType;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.experimental.Accessors;
import com.ly.common.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 金蝶-询价单适用供应商信息对象 erp_king_inquiry_supplier_info
 *
 * @author cxl
 * @date 2024-07-11
 */
@TableName ("erp_king_inquiry_supplier_info")
@ApiModel (value = "金蝶-询价单适用供应商信息", description = "金蝶-询价单适用供应商信息")
@Data
@Accessors(chain = true)
public class KingInquirySupplierEntity {

        /** 主键id */
        @TableId (type = IdType.INPUT)
        private String id;

        /** 报价单id */
        @ApiModelProperty ("报价单id")
        @TableField ("inquiry_id")
        @Excel (name = "报价单id")
        private String inquiryId;

        /** 供应商id */
        @ApiModelProperty ("供应商id")
        @TableField ("supplier_id")
        @Excel (name = "供应商id")
        private String supplierId;

        /** 供应商编码 */
        @ApiModelProperty ("供应商编码")
        @TableField ("supplier_code")
        @Excel (name = "供应商编码")
        private String supplierCode;

        /** 联系人 */
        @ApiModelProperty ("联系人")
        @TableField ("contracts")
        @Excel (name = "联系人")
        private String contracts;

        /** 手机 */
        @ApiModelProperty ("手机")
        @TableField ("phone")
        @Excel (name = "手机")
        private String phone;

        /** 邮箱 */
        @ApiModelProperty ("邮箱")
        @TableField ("email")
        @Excel (name = "邮箱")
        private String email;

        /** 供应商已确认 */
        @ApiModelProperty ("供应商已确认")
        @TableField ("supplier_confirm")
        @Excel (name = "供应商已确认")
        private String supplierConfirm;

        /** 确认日期 */
        @ApiModelProperty ("确认日期")
        @TableField ("confirm_time")
        @JsonFormat (pattern = "yyyy-MM-dd")
        @Excel (name = "确认日期", width = 30, dateFormat = "yyyy-MM-dd")
        private Date confirmTime;

        /** 报价状态 */
        @ApiModelProperty ("报价状态")
        @TableField ("quotation_status")
        @Excel (name = "报价状态")
        private String quotationStatus;

        /** 报价日期 */
        @ApiModelProperty ("报价日期")
        @TableField ("quotation_time")
        @JsonFormat (pattern = "yyyy-MM-dd")
        @Excel (name = "报价日期", width = 30, dateFormat = "yyyy-MM-dd")
        private Date quotationTime;

        /** 逻辑删除 */
        @ApiModelProperty ("逻辑删除")
        @TableField ("is_used")
        @Excel (name = "逻辑删除")
        private Integer isUsed;


}
